package music;
public class NewMusicBoxFactory {
		public static MusicBox getInstance(String className){
		MusicBox m=null;
		try{
			m=(MusicBox)Class.forName(className).newInstance();
		}catch(Exception e){
			e.printStackTrace();
		}
		return m;
	}
}
